cmake_minimum_required(VERSION 3.5)

project(lab20 LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

add_executable(lab20 main.cpp
    bills.h bills.cpp
    book.h book.cpp
    dictionary.h dictionary.cpp
    dollars.h dollars.cpp
)

include(GNUInstallDirs)
install(TARGETS lab20
    LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
    RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)
